<fieldset>
    <legend>条件搜索</legend>
    <form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get" autocomplete="off">
        <div class="layui-form-item layui-inline">
            <div class="layui-input-inline">
                <select class="layui-select" name="type">
                    <option {if condition='$Think.get.type == 1'} selected{/if} value="1">金币</option>
                    <option {if condition='$Think.get.type == 2'} selected{/if} value="2">钻石</option>
                    <option {if condition='$Think.get.type == 3'} selected{/if} value="3">鱼券</option>
                    <option {if condition='$Think.get.type == 4'} selected{/if} value="4">弹头</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item layui-inline" >
            <label class="layui-form-label">时间</label>
            <div class="layui-input-inline">
                <input data-date-range name="search_time" value="{$Think.get.search_time|default=$start_time}" placeholder="请选择时间" class="layui-input">
            </div>
        </div>

        <!--<div class="layui-form-item layui-inline">-->
            <!--<label class="layui-form-label">渠道类型</label>-->
            <!--<div class="layui-input-inline">-->
                <!--<select class="layui-select" name="channel">-->
                    <!--<option value="888"  >全部渠道</option>-->
                    <!--{foreach $channel_arr as $k=>$v}-->
                    <!--<option {if condition='$Think.get.channel == $v.channel_id'} selected{/if} value="{$v.channel_id}">{$v.name}</option>-->
                    <!--{/foreach}-->
                <!--</select>-->
            <!--</div>-->
        <!--</div>-->
        <div class="layui-form-item layui-inline">
            <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
            <button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button>
        </div>
    </form>
    <script>form.render()</script>
</fieldset>